#ifndef PALETTE_H
#define PALETTE_H

#ifndef GENESIS_DATATYPES
#define GENESIS_DATATYPES
typedef unsigned char byte;
typedef unsigned short word;
#endif

#define palid_Sonic 3

void palToCRAM();

void PalLoad1(word);
long palColor2RGB(word color);

void PaletteNoFade();

void PaletteCycle();
void PCycle_GHZ();

struct palette
{
       word color[16];
};
struct layerpalette
{
      palette line[4];
};

#endif
